﻿using System.Web.Mvc;
using NOSDC.Repositories;
using NOSDC.Models;

namespace NOSDC.Controllers
{
    public class SponsorController : Controller
    {
        public ActionResult Index()
        {
            var repository = new SponsorRepository();
            var model = new SponsorViewModel {Sponsors = repository.GetPrimarySponsors()};
            return View(model);
        }
    }
}
